import { request } from '@/network/index'

export function loginRequest(config) {
  return request(
    {
      url: 'login',
      method: 'post',
      data: {
        username: config.username,
        password: config.password
      }
    }
  )
}
